/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package strategy.implementacao.aquisicao;

import model.Jogador;
import servidorRMI.AddObservadorImp;
import strategy.interfaces.Aquisicao;

/**
 *
 * @author Lucas
 */
public class ComprarCompania implements Aquisicao {

    @Override
    public void aquisicao(Jogador j, int campo) {
        j.comprando();
        AddObservadorImp.getInstancia().notificarCompra(j.getName(), "" + campo);
    }
}